package com.aidex.system.domain;

import java.util.Date;

import com.aidex.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.utils.log.annotation.FieldRemark;
import com.aidex.common.utils.log.annotation.LogField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.aidex.common.annotation.Excel;
/**
 * 重点航班信息对象 sync_emergency_flight
 * @author wll
 * @email wll
 * @date 2021-10-14
 */
@Data
public class SyncEmergencyFlight extends BaseEntity<SyncEmergencyFlight>
{
    private static final long serialVersionUID = 1L;

    /** 航班号 */
    @Excel(name = "航班号")
    private String flight;

    /** 航班开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @Excel(name = "航班开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flightTime;

    /** 航班开始日期开始 */
    private String beginFlightTime;

    /** 航班开始日期结束 */
    private String endFlightTime;
    /** 是否重点航班 */
    @Excel(name = "是否重点航班")
    private String startupDisable;

    private String delFlag;

    public String type;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flight", getFlight())
            .append("flightTime", getFlightTime())
            .append("startupDisable", getStartupDisable())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
